/**
 * Created by zhouqian on 2017/4/22.
 */
var RandomCode = require('./RandomCode');
var MD5 = require('./MD5');

/**
 * 随机id
 */
 exports.increaseId = function(){
    var timestamp = new Date().getTime();
    var code = RandomCode.uppId(5);
    var str = timestamp + code;
    var s = MD5.md5(str);
    return s;
 }
 //随机VIP密码 6位
// exports.vipPassword = function(){
//     var code = RandomCode.getCode(6);
//     var s = MD5.md5(code);
//     return s;
// }



